package cn.tedu.powerfulfitness.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

//教练实体类
@Data
public class CoachUpdateDTO implements Serializable {
    @ApiModelProperty(value = "教练姓名",required = true)
    @NotNull(message = "必须提交教练姓名")
    private String name;

    @ApiModelProperty(value = "教练年龄",required = true)
    @NotNull(message = "必须提交教练年龄")
    private Integer age;

    @ApiModelProperty(value = "教练类别",required = true)
    @NotNull(message = "必须提交教练类别")
    private String classify;

    @ApiModelProperty(value = "教练电话",required = true)
    @NotNull(message = "必须提交教练电话")
    private Long tel;

    private Integer seniority;

    private String description;

    private String url;
}
